from itsdangerous import Signer

s = Signer("secret-key")

s.sign(b"my string")

print(s)

